package it.ipermemory.graphic;

import it.ipermemory.logic.Box;

/**
 * Defines a object that represents a graphic box
 * 
 * @author Stefano Tonello (stefano.tonello8821@gmail.com)
 * @version 1.0
 */
public class GraphicBox {

	/**
	 * Reference to the corresponding logic box
	 */
	private Box logicBox = null;
	/**
	 * flag to know if the box is covered
	 */
	private boolean uncovered;

	public GraphicBox(Box logicBoxTemp) {
		this.logicBox = logicBoxTemp;
		uncovered = false;
	}

	public boolean isUncovered() {
		return uncovered;
	}

	public void setUncovered(boolean uncoveredTemp) {
		this.uncovered = uncoveredTemp;
	}

	public Box getLogicBox() {
		return logicBox;
	}

	public void setLogicBox(Box logicBox) {
		this.logicBox = logicBox;
	}

}
